<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
</head>
<body>
    <form method="post">
        {% csrf_token %}
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username" required><br>
        <label for="password">密码:</label>
        <!-- 将 maxlength 属性值修改为大于 11 的值 -->
        <input type="password" id="password" name="password" maxlength="20" required><br>
        <input type="submit" value="登录">
    </form>
</body>
</html>
